package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallPayBankDao;
import com.appkubes.mall.core.entity.MallPayBank;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallPayBankService extends AbstractBaseService<BaseMallPayBankDao, MallPayBank> {

    MallPayBank getOneByEntity(MallPayBank entity);

    List<MallPayBank> selectListByEntity(MallPayBank entity);

    IPage<MallPayBank> selectPageByEntity(IPage<MallPayBank> page);
    IPage<MallPayBank> selectPageByEntity(PageVO pageVO);

    IPage<MallPayBank> selectPageByEntity(MallPayBank entity, IPage<MallPayBank> page);
    IPage<MallPayBank> selectPageByEntity(MallPayBank entity, PageVO pageVO);

    IPage<MallPayBank> selectPageByEntity(MallPayBank entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallPayBank entity);
}
